package edu.task.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_project_task", schema = "task")
@IdClass(SysProjectTaskPK.class)
public class SysProjectTask {
    @Id
    private Long projectId;
    @Id
    private Long taskId;
}
